const config = {
    // 未授权进入的页面
    noAuthPage: '/pages/noAuth/index',
    // 获取openId的服务端路径
    paraOpenIdUrl: "/wx/toAuth",
    // 根据经纬度获取所在省市的服务端接口
    parasLocationUrl: "/geo/lngToAddress",
    parasLocationDetailUrl: "/geo/lngToAddressDetailList",
    updateLocationUrl: '/customer/updateUserCity',

    // 小程序请求服务端不需要授权的服务端路径,小程序未登陆不拦截路径
    noAuthUrl: [
        "/geo/lngToAddress"
        , "/wx/toAuth"
        , "/integral/goods/detail/**"
        , "/article/pageList"
        , "/article/tabType"
        , "/comment/list"
        , "/comment/listSon"
        , "/task/pageList"
        , "/packages/pageList"
        , "/integral/goods/getGoodsType"
        , "/integral/goods/getList"
        , "/customer/userConcatInfo/**"
        , "/school/listMap"
        , "/common/question.html"
        , "/common/concatMeInfo"
        , "/common/getSwiper"
        , "/common/about.html"
        , "/integral/getRollRecords"
        , "/customer/rankingList"
        , "/customer/rankingList"
        , "/customer/getMyCustomer"
        , "/common/gift.html"
        , "/common/indexNotice"
        , "/common/activityBoolean"
        , "/product/pageList"
        , "/product/productTypes"
        , "/product/detail/**"
        , "/product/view/**"
        , "/packages/getOneByNo/**"
        , "/task/getOneByNo/**"
        , "/comment/getAllCountNum/**"
        , "/tbk/**",
        , "/pxx/**"
        , "/common/isStart"
        , "/common/startGift"
        ,"/pxx/recommend"
        ,"/partTimeJob/pageList"
        ,"/partTimeJob/detail/**"
        ,'/task/getNewestTask'
        ,'/common/startMp'
    ],


    // 服务端成功状态码
    SUCCESS_CODE: 1,
    // http请求超时时间
    timeout: 100000,
    // 服务端响应数据结构
    response: {
        "dataKey": "data",
        "codeKey": "code",
        "msgKey": "msg"
    },
    logo: "http://aliyun.thisforyou.cn:9004/cbd-prod/logo/logo.jpg",
    active: "test", // dev 环境
    server: {
        dev: {
            doMain: 'http://192.168.1.243:8083/api',
        },
        test: {
            doMain: 'http://172.16.3.6:8082/api',
        },
        prod: {
            doMain: 'https://aliyun.thisforyou.cn/cbd/api',
        },
        beta: {
            doMain: '',
        },
    },
};
//console.log("GlobConfig", config);
module.exports = config
